﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;
using TA.Turbo.Controls;

namespace TA.Turbo.Design
{
	public class TreeNodeCollectionEditor : CollectionEditor
	{
		public TreeNodeCollectionEditor()
			: base(typeof(TreeNodeCollection))
		{
		}
		protected override Type[] CreateNewItemTypes()
		{
			return new[]
			{
				typeof(ExpansionNode),
				typeof(SelectionNode),
				typeof(HyperLinkNode),
				typeof(CheckBoxNode),
				typeof(TemplateNode),
			};
		}
	}
}
